<template>
  <ul class="customer-nav-bar">
    <li>
      <a :href="`${$resourcePrefix}/setting/productV2/catalog/setting?type=productSet`" :class="current === 'productSet' && 'active'">
        <i class="icon-shezhi-chanpinguanlishezhi iconfont" ></i>
        {{$t('product.setting.productNavBar.label1')}}
      </a>
    </li>
    <li>
      <a :href="`${$resourcePrefix}/setting/productV2/catalog/setting?type=productMenuSet`" :class="current === 'productMenuSet' && 'active'">
        <i class="icon-shezhi-chanpinmulu iconfont"></i>
        {{$t('product.setting.productNavBar.label2')}}
      </a>
    </li>
    <li>
      <a :href="`${$resourcePrefix}/setting/productV2/catalog/setting?type=customerAdditionalSet`" :class="current === 'additional' && 'active'">
        <i class="icon-Satisfied1 iconfont"></i>
        {{$t('product.setting.productNavBar.label3')}}
      </a>
    </li>
  </ul>
</template>

<script>
export default {
  name: 'product-nav-bar',
  props: {
    current: String
  }
}
</script>

<style lang="scss" scoped>
ul,.customer-nav-bar{
  width: 194px;
  min-width: 194px;
  height: 100%;
  padding: 26px 38px;
  margin-bottom: 0;
  background: #FFFFFF;
  border-radius: 4px;
  list-style: none;
  li > a{
    display: inline-block;
    text-decoration: none;
    margin-bottom: 26px;
    font-size: 16px;
    color: #666666;
    &.active{
      font-weight: bold;
      color: $color-primary;
    }
  }
  .iconfont{
    font-size: 14px;

  }
}
</style>